From: Keir Fraser Date: Sun, 27 Jan 2008 12:53:35 +0000 (+0000) Subject: tools: Merge clean and distclean target. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14381 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=c9e44046d7e26816deeda797189bd592c9e5e8af;p=xen.git tools: Merge clean and distclean target. Signed-off-by: Bastian Blank --- diff --git a/tools/Makefile b/tools/Makefile index acf44fce21..c4deda5596 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -51,15 +51,12 @@ install: $(INSTALL_DIR) $(DESTDIR)/var/log/xen $(INSTALL_DIR) $(DESTDIR)/var/lib/xen -.PHONY: clean -clean: +.PHONY: clean distclean +clean distclean: @set -e; for subdir in $(SUBDIRS-y); do \ - $(MAKE) subdir-$@-$$subdir; \ + $(MAKE) subdir-clean-$$subdir; \ done -.PHONY: distclean -distclean: clean - subdir-all-%: $(MAKE) -C $* all